package com.zut.hospital.entity.pharmacy;

import cn.afterturn.easypoi.excel.annotation.Excel;
import org.springframework.stereotype.Component;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;
public class ExcelPurchase {
    private Integer id;

    @Excel(name = "药品名称")
    @NotNull(message = "该字段不能为空")
    private String pchMdcName;

    @Excel(name = "药品进价")
    @NotNull(message = "该字段不能为空")
    private Double pchPrice;

    @Excel(name = "药品数量")
    @NotNull(message = "该字段不能为空")
    private Integer pchCount;


    @Excel(name = "进药日期",importFormat = "yyyy/MM/dd")
    @NotNull(message = "该字段不能为空")
    private Date pchDate;

    @Excel(name = "进药备注")
    private String pchRemark;


    private String pchNumber;

    @Excel(name = "供应商")
    @NotNull(message = "该字段不能为空")
    private String pchSupplier;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPchMdcName() {
        return pchMdcName;
    }

    public void setPchMdcName(String pchMdcName) {
        this.pchMdcName = pchMdcName;
    }

    public Double getPchPrice() {
        return pchPrice;
    }

    public void setPchPrice(Double pchPrice) {
        this.pchPrice = pchPrice;
    }

    public Integer getPchCount() {
        return pchCount;
    }

    public void setPchCount(Integer pchCount) {
        this.pchCount = pchCount;
    }

    public Date getPchDate() {
        return pchDate;
    }

    public void setPchDate(Date pchDate) {
        this.pchDate = pchDate;
    }

    public String getPchRemark() {
        return pchRemark;
    }

    public void setPchRemark(String pchRemark) {
        this.pchRemark = pchRemark;
    }

    public String getPchNumber() {
        return pchNumber;
    }

    public void setPchNumber(String pchNumber) {
        this.pchNumber = pchNumber;
    }

    public String getPchSupplier() {
        return pchSupplier;
    }

    public void setPchSupplier(String pchSupplier) {
        this.pchSupplier = pchSupplier;
    }


}